

<fieldset class="layui-elem-field">
    <legend>基础信息设置</legend>
    <div class="layui-field-box">
        <form action="{:url('Setup/setInfo')}" class="layui-form" method="post"
              style="margin: 20px">
            <div class="layui-row">
                <div class="layui-form-item uploadDiv" style="display: block;margin-left: 110px">
                    <img src="{$info.admin_info_logo}" class="uploadImg" width="100">
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">LOGO</label>
                    <div class="layui-input-inline">
                        <button type="button" class="layui-btn upload" required>
                            <i class="layui-icon"></i>上传图片
                        </button>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">名称</label>
                        <div class="layui-input-inline">
                            <input type="text" name="admin_info_name" lay-verify="required" placeholder="请输入名称" value="{$info.admin_info_name}" maxlength="20"
                                   autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">地址</label>
                        <div class="layui-input-inline">
                            <input type="text" name="admin_info_address" lay-verify="required" value="{$info.admin_info_address}" maxlength="20"
                                   autocomplete="off" placeholder="请输入地址" class="layui-input">
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">电话</label>
                        <div class="layui-input-inline">
                            <input type="text" name="admin_info_phone" value="{$info.admin_info_phone}" lay-verify="required" maxlength="11"
                                   autocomplete="off" placeholder="请输入电话" class="layui-input">
                        </div>
                    </div>

                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">简介</label>
                    <div class="layui-inline">
                        <div class="layui-input-inline">
                                <textarea  name="admin_info_text" lay-verify="required" placeholder="请输入简介"
                                           style="width:300px;height:200px;">{$info.admin_info_text}</textarea>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item ">
                    <input type="hidden" name="admin_info_id" value="{$info.admin_info_id}">
                    <input type="hidden" name="admin_id" value="{$info.admin_id}">
                    <label class="layui-form-label"> </label>
                    <button class="layui-btn" lay-submit="" lay-filter="ajax">提交</button>
                </div>
            </div>
        </form>
    </div>
</fieldset>
